package io1;

public class FinallyDemo {
    public static void main(String[] args) {
        System.out.println("开始");
        try {
            String a="";
            System.out.println(a.charAt(0));
        }catch (StringIndexOutOfBoundsException e){
            System.out.println("解决问题");
        }finally {
            System.out.println("buh uhuhj");
        }
        System.out.println("结束");
    }
}
